Release 10.1A: OpenEdge Development:
Programming Interfaces
Control-frame attributes and properties
In addition to the control-frame widget attributes that manage an ActiveX control’s relationship to the user interface, the control-frame COM object has several properties that map to corresponding control-frame widget attributes. These properties provide another way of getting to the same information and are listed in Table 16–1.
Table 16–1: Control-frame attributes and properties Widget attribute COM object property Height Name Width Left Top
If one of these control-frame widget attributes changes, the corresponding COM object property changes, and the reverse is also true. For example, suppose
CtrlFrameis the widget handle to a control-frame andchCtrlFrameis the component handle to the same control-frame. If you setCtrlFrame:X = 10, the value of chCtrlFrame:Left is set to 10. If you setchCtrlFrame:Width = 100(100 pixels), the value ofCtrlFrame:WIDTH-PIXELSis set to 100. In this case,CtrlFrame:WIDTHalso changes, but the exact value (number of characters) depends on the font.For a complete list of the attributes and properties (as well as methods and events) associated with the control-frame, see the
CONTROL-FRAMEWidget entry in the OpenEdge Development: Progress 4GL Reference .
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |